@import "reset.css";
@import "common.css";

/* 通用样式开始 */
body {
  font: normal 13px Helvetica, Arial, Hiragino Sans GB, Microsoft YaHei,
    WenQuanYi Micro Hei, sans-serif;
  color: #333;
}
a {
  color: #41ac52;
}
input[type="text"],
input[type="phone"],
input[type="password"] {
  width: 100%;
  border: 1px solid #e4e6e5;
  box-sizing: border-box;
  height: 33px;
  padding: 8px 10px;
  border-radius: 3px;
}
.t-right {
  text-align: right;
}
/* 控制显示或隐藏 */
.hidden {
  display: none;
}
/* 通用样式结束 */

#loginframe {
  width: 300px;
  height: 300px;
  position: relative;
}
.login-wrap {
  width: 300px;
  height: 296px;
  line-height: 2;
  box-sizing: border-box;
  padding: 30px 10px 10px;
  position: relative;
}
/* 切换图标 */
.switch-icon .icon {
  width: 30px;
  height: 30px;
  background-size: 30px;
  position: absolute;
  top: 10px;
  right: 10px;
  overflow: visible;
}
.switch-icon .iconqr {
  background-image: url();
}
.switch-icon .iconpc {
  background-image: url();
}
.switch-icon .icon:hover::before {
  display: block;
  height: 20px;
  border: 1px solid rgba(66, 189, 86, 0.3);
  border-radius: 3px;
  padding: 3px 5px;
  color: #666;
  font-size: 13px;
  position: absolute;
  top: 0;
  right: 50px;
  background: #f5faf9;
  line-height: 20px;
}
.switch-icon .icon:hover::after {
  content: "";
  display: block;
  height: 10px;
  width: 10px;
  border-top: 1px solid rgba(66,189,86,.3);
  border-right: 1px solid rgba(66,189,86,.3);
  background: #f5faf9;
  transform: rotate(45deg);
  position: absolute;
  right: 44px;
  top: 8px;
  z-index: 0;
}
.switch-icon .iconpc:hover::before {
  content: "\77ED\4FE1\767B\5F55/\6CE8\518C";
  width: 86px;
}
.switch-icon .iconqr:hover::before {
  content: "\626B\7801\767B\5F55";
  width: 53px;
}
/* 切换菜单 */
.login .switch-tabs .tab-start {
  border-bottom: 1px solid #ececec;
  margin-bottom: 10px;
}
.login .switch-tabs .tab-quick {
  border-bottom: 1px solid #ececec;
}
.login .tab-start span {
  width: 50%;
  display: inline-block;
  line-height: 2;
  text-align: center;
  cursor: pointer;
}
.login .tab-start .on {
  font-weight: bold;
  border-bottom: 1px solid #494949;
}

.login .tab-quick .qr-title {
  width: 50%;
  font-weight: bold;
}

/* 表单 */
.login .form-tips {
  margin-bottom: 10px;
  font-size: 12px;
  color: #9b9b9b;
  line-height: 19px;
}
.login .form-label {
  display: none;
}
.login .form-item {
  margin-bottom: 10px;
  position: relative;
}
.login .form-item input[type="phone"] {
  padding-left: 60px;
  padding-right: 40px;
}
.login .form-item .area-code {
  position: absolute;
  width: 50px;
  height: 36px;
  top: 1px;
  left: 1px;
  overflow: hidden;
  padding-right: 1px;
}
.login .area-code .code-label {
  width: 100%;
  line-height: 36px;
  text-align: center;
  font-size: 15px;
  font-weight: bold;
  cursor: pointer;
}
.login .code-label::after {
  content: "";
  position: absolute;
  width: 0;
  height: 22px;
  top: 6px;
  right: 1px;
  border-right: 1px solid;
  border-color: rgba(0, 0, 0, 0.12);
}

.login .form-code {
  position: absolute;
  line-height: 35px;
  padding: 0 10px;
  top: 0;
  right: 0;
}

.login .form-submit {
  position: relative;
  width: 280px;
}
.login .form-submit .btn {
  display: block;
  height: 34px;
  line-height: 34px;
  text-align: center;
  font-size: 15px;
  font-weight: 400;
  color: #fff;
  border-radius: 3px;
  background-color: rgba(66, 189, 86, 0.5);
  cursor: default;
}
.login .form-submit .btn.btn-active {
  cursor: pointer;
  background-color: #41ac52;
}

.login .form-ft {
  line-height: 21px;
  margin: 10px 0;
}
/* 铺满整个视口，背景为半透明的白色 */
#loginframe .country-code-msk {
  position: absolute;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  opacity: 0.7;
  background: #fff;
  z-index: 1;
  display: block;
}

#loginframe .country-code-dialog {
  width: 284px;
  height: 224px;
  position: fixed;
  top: 30px;
  left: 8px;
  background: #fff;
  z-index: 1;
  display: block;
}

.country-code-dialog .dialog-content {
  box-sizing: border-box;
  position: absolute;
  border: 1px solid #bbb;
  border-radius: 4px;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  margin: auto;
  overflow: hidden;
}

.country-code-dialog .hd {
  padding: 10px 10px 6px;
  background: #ebf5eb;
  font-size: 14px;
}

.country-code-dialog .hd h3 {
  padding: 0 40px 0 4px;
  font-size: 1.17em;
  color: #060;
  font-weight: bold;
}

.country-code-dialog .dialog-close {
  position: absolute;
  top: 10px;
  right: 12px;
  padding: 0 3px;
  z-index: 1;
  font: 11px/1.2 "Comic Sans MS", sans-serif;
}
a.dialog-close:link {
  color: #b4b4b4;
}
a.dialog-close:hover {
  color: #fab0b6;
}

.country-code-dialog .bd {
  height: 150px;
  position: relative;
  padding: 15px;
  font-size: 14px;
  overflow: auto;
}

.codeList li:first-child {
  border-top: 1px solid #e5e5e5;
}
.codeList li {
  overflow: hidden;
  line-height: 2.6;
  color: #494949;
  cursor: pointer;
  border-bottom: 1px solid #e5e5e5;
  text-align: justify;
}

.codeList li .codeItem-district {
  font-weight: bold;
}
.codeList li .codeItem-number {
  color: #aaa;
}
.codeList li.isActive > * {
  color: #42bd56;
}
.codeList li.isActive .codeItem-district::after {
  content: "\2714\FE0E";
  margin-left: 10px;
}

.login .form-tips.t-right {
  text-align: right;
  line-height: 19px;
}

/* 第三方登录 */
.form-3rd {
  border-top: 1px solid #ddd;
}
.form-3rd .form-3rd-hd,
.form-3rd .form-3rd-bd {
  display: inline-block;
}
.form-3rd-hd {
  color: #9b9b9b;
  font-size: 12px;
  line-height: 19px;
}
.form-3rd-bd {
  padding-top: 10px;
  text-align: center;
  line-height: 1;
}

.form-3rd-bd a {
  height: 22px;
  width: 22px;
  margin: 0 0 0 12px;
  display: inline-block;
  vertical-align: middle;
  font-size: 0;
  background-repeat: no-repeat;
  background-size: 100% 100%;
}
.form-3rd-bd a.link-wx {
  background-image: url("data:image/svg+xml;charset=utf-8,%3Csvg width='36' height='37' viewBox='0 0 36 37' xmlns='http://www.w3.org/2000/svg'%3E%3Ctitle%3EGroup 6%3C/title%3E%3Cg transform='translate(-.015 .266)' fill='none' fill-rule='evenodd'%3E%3Ccircle fill='%2364C574' cx='18' cy='18' r='18'/%3E%3Cpath d='M20.062 18c-.48 0-.962.529-.962 1.18 0 .53.481 1.06.962 1.06.722 0 1.238-.53 1.238-1.06 0-.651-.516-1.18-1.238-1.18m-1.99-4.481c.628 0 1.028-.449 1.028-1.121 0-.705-.4-1.12-1.029-1.12-.6 0-1.171.415-1.171 1.12 0 .672.572 1.12 1.171 1.12m-3.385 9.02c-1.001 0-1.732-.182-2.68-.486l-2.733 1.55.786-2.613C8.136 19.469 7 17.553 7 15.212c0-4.134 3.464-7.295 7.686-7.295 3.736 0 7.065 2.493 7.714 6.019a3.348 3.348 0 0 0-.73-.091c-3.682 0-6.523 3.1-6.523 6.84 0 .638.081 1.215.216 1.823-.216.03-.46.03-.677.03m11.597 3.345l.549 2.2-2.086-1.314c-.796.183-1.564.459-2.36.459-3.677 0-6.586-2.812-6.586-6.296 0-3.482 2.909-6.293 6.586-6.293 3.485 0 6.614 2.811 6.614 6.293 0 1.956-1.18 3.697-2.717 4.951M11.498 11.278c-.585 0-1.198.415-1.198 1.12 0 .672.613 1.12 1.198 1.12.556 0 1.002-.448 1.002-1.12 0-.705-.446-1.12-1.002-1.12M24.478 18c-.524 0-.978.529-.978 1.18 0 .53.454 1.06.977 1.06.699 0 1.223-.53 1.223-1.06 0-.651-.524-1.18-1.223-1.18' fill='%23FFF'/%3E%3C/g%3E%3C/svg%3E");
}
.form-3rd-bd a.link-wb {
  background-image: url("data:image/svg+xml;charset=utf-8,%3Csvg width='37' height='37' viewBox='0 0 37 37' xmlns='http://www.w3.org/2000/svg'%3E%3Ctitle%3EGroup 5%3C/title%3E%3Cg transform='translate(.41 .266)' fill='none' fill-rule='evenodd'%3E%3Ccircle fill='%23F27272' cx='18.306' cy='18' r='18'/%3E%3Cpath d='M23.94 17.803c-.268-.055-.442-.138-.521-.248-.08-.11-.094-.21-.04-.303l.08-.137a.326.326 0 0 0 .054-.083c.018-.037.054-.115.107-.235.053-.119.093-.238.12-.357.028-.12.05-.267.067-.441.017-.175.013-.34-.014-.496a2.16 2.16 0 0 0-.16-.51 1.706 1.706 0 0 0-.335-.496c-.25-.257-.576-.423-.977-.496a3.536 3.536 0 0 0-1.203-.014c-.401.064-.78.146-1.137.247-.356.101-.65.198-.882.29l-.347.165a3.298 3.298 0 0 1-.442.11.493.493 0 0 1-.268-.014.707.707 0 0 1-.147-.083c-.035-.027-.049-.091-.04-.193.008-.1.017-.188.026-.261.01-.074.032-.189.067-.345.035-.156.062-.28.08-.372 0-.22-.013-.427-.04-.62a3.094 3.094 0 0 0-.174-.646 1.39 1.39 0 0 0-.387-.579 1.976 1.976 0 0 0-.642-.357c-.259-.092-.593-.12-1.003-.083a5.73 5.73 0 0 0-1.391.33 8.485 8.485 0 0 0-1.899.978c-.642.43-1.199.88-1.671 1.35-.473.467-.905.922-1.298 1.362-.392.441-.696.8-.91 1.075l-.294.44c-.588.79-1.025 1.58-1.31 2.37-.286.79-.42 1.386-.402 1.79v.578c.108.882.37 1.671.79 2.37.418.697.917 1.262 1.497 1.693a8.61 8.61 0 0 0 2.046 1.102c.785.303 1.538.524 2.26.661a19.33 19.33 0 0 0 2.287.29c1.32.11 2.689.004 4.106-.317a12.208 12.208 0 0 0 3.958-1.667c1.222-.79 2.082-1.735 2.581-2.837.303-.643.46-1.249.468-1.818.01-.57-.084-1.033-.28-1.391a3.519 3.519 0 0 0-.763-.95 3.79 3.79 0 0 0-.882-.607 2.959 2.959 0 0 0-.735-.247v.002zm-8.157 8.566c-1.926.092-3.562-.294-4.908-1.157-1.345-.863-2.018-1.956-2.018-3.278 0-1.304.668-2.428 2.006-3.374 1.337-.945 2.977-1.464 4.92-1.556 1.944-.093 3.584.238 4.922.991 1.337.753 2.006 1.782 2.006 3.085 0 1.322-.682 2.511-2.047 3.567-1.364 1.056-2.99 1.63-4.88 1.721l-.001.001zm-.776-7.63c-.516.055-.98.18-1.39.372-.41.193-.731.413-.963.661a4.203 4.203 0 0 0-.589.799 3.1 3.1 0 0 0-.335.84 5.436 5.436 0 0 0-.12.757c-.019.229-.027.408-.027.536l.027.22v.111c0 .055.018.165.054.33.036.166.085.317.147.455.062.138.165.29.307.455.143.165.312.303.509.414 1.177.587 2.273.766 3.29.536a4.134 4.134 0 0 0 2.46-1.583c.25-.313.415-.698.494-1.158.08-.46.062-.923-.053-1.39a3.584 3.584 0 0 0-.602-1.281c-.285-.386-.709-.685-1.27-.896-.562-.21-1.208-.27-1.94-.179l.001.001zm-.962 5.207a1.191 1.191 0 0 1-.575-.042 2.886 2.886 0 0 1-.241-.096.553.553 0 0 1-.2-.151 2.824 2.824 0 0 1-.147-.194.848.848 0 0 1-.148-.482c0-.202.054-.4.161-.592.108-.193.255-.358.442-.496s.396-.217.628-.235c.16-.018.316-.013.468.014.152.028.281.074.388.138.107.064.2.137.28.22a.73.73 0 0 1 .174.29c.036.11.054.229.054.357 0 .202-.058.395-.173.579-.116.183-.272.339-.469.467-.196.13-.41.203-.641.22l-.001.003zm2.273-1.984a.58.58 0 0 1-.388.125c-.134-.01-.227-.069-.28-.18l-.055-.11a.256.256 0 0 1-.026-.11v-.11c0-.055.009-.101.026-.137l.054-.11a.175.175 0 0 1 .08-.083l.081-.11c.143-.111.28-.157.414-.138a.34.34 0 0 1 .281.22.35.35 0 0 1 .067.248.693.693 0 0 1-.08.262 1.048 1.048 0 0 1-.174.234zm9.494-5.757a.548.548 0 0 0 .295-.083.677.677 0 0 0 .214-.206.727.727 0 0 0 .107-.262c.017-.018.026-.046.026-.082.214-2.094-.499-3.288-2.14-3.582a3.671 3.671 0 0 0-1.337-.027.534.534 0 0 0-.321.096.857.857 0 0 0-.228.248.645.645 0 0 0 .094.784.615.615 0 0 0 .455.193c1.391-.33 2.14.129 2.247 1.378.036.312.018.606-.054.881 0 .184.062.34.187.468a.614.614 0 0 0 .454.193l.001.001zm-3.61-7.657c-.018 0-.036.01-.054.028l-.027.055-.026.028a.87.87 0 0 0-.482.344.952.952 0 0 0-.188.565c0 .276.09.505.268.689a.867.867 0 0 0 .642.275h.08a.6.6 0 0 0 .121-.027 1.36 1.36 0 0 1 .2-.041c.071-.01.147-.028.228-.056.081-.027.152-.055.214-.083.062-.027.182-.041.361-.041.18 0 .398.014.656.041.258.028.543.097.856.207.312.11.624.247.936.413.311.166.623.395.936.688.313.294.585.633.816 1.02.464 1.083.553 2.13.268 3.14a.125.125 0 0 1-.014.055.922.922 0 0 0-.04.138 6.06 6.06 0 0 1-.054.206 2.565 2.565 0 0 0-.054.248c-.018.1-.026.187-.026.261 0 .165.044.303.133.414.09.11.2.188.335.234.134.046.29.069.468.069.499 0 .793-.313.882-.937.214-.716.334-1.4.361-2.052.027-.652-.017-1.225-.133-1.721a5.635 5.635 0 0 0-.521-1.391 4.656 4.656 0 0 0-.803-1.102 6.562 6.562 0 0 0-1.017-.827 6.687 6.687 0 0 0-1.083-.592 7.157 7.157 0 0 0-1.084-.358c-.784-.184-1.836-.147-3.155.11z' fill='%23FFF'/%3E%3C/g%3E%3C/svg%3E");
}

/* 扫码登录 */
.login-qrcode {
  margin-top: 20px;
  text-align: center;
}

.login-qrcode .qr-scan {
  width: 170px;
  height: 170px;
  display: inline-block;
}
.login-qrcode .qr-scan img {
  width: 100%;
  height: 100%;
  vertical-align: middle;
}
.login-qrcode .qr-text {
  display: inline-block;
  border-radius: 12px;
  margin-top: 10px;
  padding: 3px 20px;
  color: #494949;
  background-color: rgba(0, 0, 0, 0.08);
  font-size: 13px;
  line-height: 1.5;
}
